Add a function to write HDF5 attributes.
Flush the tables in the destructor.
Add the methods for adding metadata to the output.
Write cutoff, gun radius and seed as metadata.