Bio inspired adaptive control of nonlinear systems