Wav to spec
This adds a new class method in the MagSpectrogram class, which creates spectrograms directly from wav files. The method has options to select a segment of the file, and it ensures that the spectrogram has the correct length and is centered correctly, by padding with zeros if necessary, or by loading a slightly longer segment of audio.