ENH: Add diagonal_size, a quick tool for eliminating spurrious trajectories.