Added conjugate gradient solver.