Static and Dynamic versions of NewtonSolver
Two new classes substitute the old NewtonSolver class -- StaticNewtonSolver and DynamicNewtonSolver. The StaticNewtonSolver knows the size of the problem at compile-time, while DynamicNewtonSolver gets the problem size as an argument to its constructor.
Edited by Mikhail Katliar