using the new mdtraj hdf5 reporter to simplify our code a little bit