changes to Monte Carlo Simulation module