added monte carlo estimation of error in order parameter