Fixed typo in sine fit function.