the type it will become as a template argument. Brought everything into line with this change.
Added the quadraticFit interpolation scheme.