Made changes to how prime/modulus and random coefficients are being
generated