Write Analyzer class for visualizing trajectories, as well as short script to use it.