Finished the Monte Carlo stepper. various bugfixes