Fault Detection and Failure Prevention on the Tethys Long-Range Autonomous Underwater Vehicle,