fixed malloc bug in fftw_plan arguments (size of output)