Genetic Algorithm working properly now.