Added simulation parameters as hdf5 attributes; changed line 70 condition on recording number of infecteds