Update genetics.py