Bugfix in genetics.py