C# port of COBYLA2 nonlinear constrained optimization method