Computation of DFT