removed extra trajectory from analyze_dynamics in Xie 2012