Removed the array that stores the residual at every iteration in eigcg