genetic algorithm solver in matlab