Calculate invariant trajectory representations from trajectory data and generate new trajectories from the invariants.