Added stft_timedelta function