adding ipython notebook to caluclate velocities