Devising an Affordable Sonar System for Underwater 3-D Vision