Generic montecarlorep function, removing specific comparison functions. Also added separate man for montecarlorep and montecarlostat.