Change variable from simulation to opt_simulation. fixes #3