Code trying to read non aberant values from an ultrasonic sensor