Changed the properties of the @mxdrfile class to be compatible with the write_trr and write_xtc functions.
Fixed some errors writing directly from class mxdrfile with write_trr and write_xtc.