Coupled gradient algorithm for multivariable nonlinear systems