Added spectrogram output
Improved the resynthesis algorithm