Gender-structured population modeling: mathematical methods, numerics, and simulations