finish estimating pi using monte carlo integration