add error estimate for Monte Carlo simulation