correctly scaling estimate of pi