changed the fourier matrix calculations