nlminb2 function

Constrained nonlinear minimization