Madness in the Middle Ages: an Examination of the Treatment of the Mentally Ill in the Medieval Era Based on Order and Gender