Fixing fitting code

Added examples with linear fitting, and fixed errors in code.
Had to disable interpolation because of conflicting slots.

Next step is to unify interpolation and fitting
Fixed interpolation and other minor changes

First cut of interpolation class structure.  This could be improved.

All tests pass