Added Genetic Algorithm Functions