Least Squares Sine Fit. The parameters in the edit boxes have adjusted to reflect fit