fix distance, altitude and throttling code better
0.1.1