added "solveEigen" method and added CG for solving option