Changed initial fit parameters to be const doubles declared at top
Now fits with 2 functions (optional)
Now saves fit parameter errors