Implemented furhter resample and area operations
No more broken build. Fixed merge conflict. Enhanced Spectrum by templated resample and helper methods. Maracuja app can be run again.