Spectrum reduce

Draft of code to spectrum reduction via intgration
yes.  

One odd thing we don't check for is overlapping regions on the input.