A fault tolerant sliding mode controller for accommodating actuator failures