Refactor spectrogram.

Underlying ndarray is now a member.
Undo accidental change.
Remove debug.
Remove dead code.
Remove dead code.
Merge pull request #465 from segfaulthunter/spectrorefactor

Refactor spectrogram.