initial commit with FFT, DCT functions and test program for diagonal spectral matrices