TRESNEI, a Matlab trust-region solver for systems of nonlinear equalities and inequalities