added sout line to update method in rangefinder for debugging