Added AbstractSolver and TriDiagSolver