Added reduceMCsimulations.m