Finally got my h5 file in shape
Changes I made a while ago to improve hdf5 storage