changed order of fxns

moved distance_moved fxn up (so they are in order of script appearance)
changed col nums to work with the new data