Adapted the fft-trans to the newly polished API.