Using $2 million grant to help mentally ill inmates