Fixed a bug in GeneticAlgorithm (population size)