Model-Validation and Implementation of a Path-Following Algorithm in an Autonomous Underwater Vehicle