Now copies the input matrix for all real inverse transformations because of strange side effect of all c2r fftw function calls (also documented, see function)