RandomNumberGenerator changed to work with mean and no avg