added spectrogram preproccesing script and wrote custom pca whitening function