major work done to spectrometer

Spectrometer near complete.
too many new things to list...