Wavelets improved, NotePowerGenerator refactored

Wavelets improved, NotePowerGenerator refactored, Spectrum alignment
encapsulated.