Inmates were forced to masturbate in front of a female soldier.