quick_separate_trajectories function

Quick version of separate_trajectories()