fixed power spectrum
Merge pull request #52 from hughrawlinson/powSpec

fixed power spectrum
bufferSize error handling
bla
Buffersize error handling
cleanup
merge from master
tested ampSpectrum+sinewave