Implement the transfroms and mapping steps in separate functions. Update testFourierTransform and timers.