More refactoring of TimeSpectra/Spectra; made a more consistent API for unit access at spectra level and removed time unit in place of varunit