New method for estimating wavefront from curvature signal by curve fitting