l2_semi_cg_space added, some memory leaks fixed
some changes for CG_DG