critical bug fix to MC and implemented new takestep

relocated actions in the mc loop, this is a critical bug fix
implemented a gaussian takestep module