Improve DFT algorithm and Graphicws output.