Wrote code to estimate delta0 and sigma0