removed "update" methods for rangefinder, thread now runs with while loop