Several updates to the functions necessary for simulating the clusters