fourier transform box function