Fixed the solver so that it reuses the same matrix factorizations for each step of CG.