Added SharedPRNG, along with uncommons maths version 1.2.3

Changed all randoms to reflect change in random number generator.