updates to animate, can now synchronize multiple trajectories arbitrarily, with unequal lengths
updates to plot, not sure what
some helpful functions in numpyimgproc