Error Analysis Of Extended Discontinuous Galerkin (Xdg) Method