Rectangular and angle head ultrasonic sensors