fMonteCarlo function

Monte Carlo Simulations.