Reorder the functions too so the rfft and inverse-rfft are together and the support routines come before.