velocities were added to smooth the recorded trajectories