tidy_trajectories function

Build a tidy table with the trajectories for each iteration