changes made

now runs but doesn't calculate velocity and distance.