Added plot implementation for solve_cg