creating and processing md trajectories