Added Nikita's animate_traj (it's commented out since it can not be killed). Noted that seg_length was chosen by guessing.