Nearly working 1D real FFT (though WHY is a puzzle...)