Improved performance of nonlinear function evaluations
Minor performance improvements
Fixed code styling and alignment
Removed deprecated documentation