Mathematical modeling and simulation of the female menstrual cycle