this avoids manipulating global coordinates as float variables. Using a float reduces our precision from 1cm to about 70cm. This also adds location_diff() which will be used in the L1 controller to avoid global positions in floats