Dam wall detection and tracking using a Mechanically Scanned Imaging Sonar