Added "maxGenerations" option to Experiment constructor