Fix fftw transform

Merged Theo Steininger requested to merge fix_fftw_transform into master

Merge request reports