Text this: Improved Measurement Accuracy Based on Moving Sine-Wave Fitting for Ultrasonic Ranging