fix: bug with the type conversion in the fft base transformations
use np.real instead of np.abs in fft transformations
changed fft-template transformation to incorporate the latest commits