I need to calculate speed and distance from the accelerometer sensor\'s X Y Z values instead of the GPS, like Mi fitness band doesn\'t have a GPS sensor, it has an accelerometer