simple (and possibly wrong) function to perform SVD on STFT