Make the test DFT faster by not using maps
Loops are faster than maps