improved_trajectory Here is a sample code for extract improved trajectories, which is adapted from Heng Wang's code with a few modification