Implemented some minor changes in simulation. Implemented check that
ideotype can be obtained from initial population.