Computing with Trajectories: Characterizing Dynamics and Connectivity in Spatiotemporal Neuroimaging Data