Finite-time control of chaotic systems with nonlinear inputs