Lifting Trajectories for Effective Clustering