Changed the nonlinear solver architecture to better support constrained variables in the solution process.
Further updates on the periodic condition of the nonlinear solvers.
Completed minimum distance calculation between point and surface.