Bug correction with fftw.