Refactored RandomGenerator to use numbergen.TimeAwareRandomState