Hereditary trait simulator.