Supporting code for the trajectory clustering project.