Adding DdMdTrajectoryWriter