added rfft routine of moore to fft.c, but it is all untested