Update initial values.
Implement next generation function.
Compile script before genetic optimisation is initialised.