Active Fault Tolerant Control of Nonlinear Systems: the Cart–Pole example