Made changes to Odometer algorithm, and changes property from int to double