Added some functionality to the PseudoRandomNumberGenerator class.