Genetic algorithm updated.