Rewritten Fourier functions. Now 3 fundamental functions exist: dft, rdft, rdftinv which are called by the fft, fft2 and fftn functions. Added test file and removed old fft-tests which was the same as the demo file.