Added CG Solver for 3D