Preparation to move from cv to numpy

The Spectrogram class still has the same interface, but stores results in a
numpy array instead of an IplImage. Functions that return an IplImage convert
from numpy right before returning. This is in preparation to remove the OpenCV
dependence.