2D Fourier transform fixed, NOW it works as expected...

The Fourier transform tests were not testing the
2D FFT correctly, that's why I didn't understand
why the 2D FFT "worked" even though I was sure
the first implementation was correct. But both
the tests and the algorithms have been fixed now.