The Evolution of Gender Dynamics