Intelligent Sensor Approach to Differentiating Sonar Reflections from Corners and Planes