Fixed a typo and a problem with visualizing raw trajectories.