Ultrasonic

added distance calculations for ultrasonic sensors among other small
things