The Z values were derived from a gaussian distribution that was fitted to the data. The following two figures are examples of the isotopes generated for a certain mass.