Added monte carlo simulation to the GUI