Generate monte carlo simulation.