add fourier transform in r and tau