added support for new trajectory storage. Decoupled configurations and
momenta