Sonar based structure inspection