wtraj to write trajectories in process.