fftw.cpp: add single support