DC current distributions and magnetic fields using the T-omega edge-element method