Improved sine fit

Corrected the equilibrium value of the sine fit.