Real-time failure tolerant control of kinematically redundant manipulators