dG calculation added. Output header improved.