Add accessors for maxIterations and errorThreshold

  in classes ConfigProjector and ProblemSolver.