Update geneticAlgorithm.R