Text this: Dynamic Reference Selection-Based Self-Localization Algorithm for Drifted Underwater Acoustic Networks