Update dead_reckoning.py