fixed memory leak in the incremental eigcg solver, a few corrections