Added iterate_monte_carlo method