Switched Control Design for Nonlinear Systems Using State Feedback