factor out uncertainty calculations
copy headers to include dir for build

also, popped SpectralPlot into its own header, and various tweaks.
bring back fit plots
bring back contour uncertainties