Write parameters to HDF5 file
Based on #85 and #190, we can automatically write all parameters to the HDF5 file and also check that the parameters are identical when resuming a previous run.
issue