MORE INFO NEEDED FOR THIS SECTION:
This function allows the user to generate a new batch using a set of parameters, or a randomised batch of a given size.
MORE INFO NEEDED FOR THIS SECTION:
This function allows the user to generate a new batch using a set of parameters, or a randomised batch of a given size.