Spectrum reduce

Draft of code to spectrum reduction via intgration
ah, nevermind