semi-vectorized stft, resolves #63