Title: Optimal fault detection and resolution during maneuvering for Autonomous Underwater Vehicles