Add project method to Trajectories (with tests)