Add iteration support for Genetic Optimisation.
Changing the iterations in the Edit/Run tab is now taken into account when generating a new generation.