fixed some issues with Genetics.java