gamma RNG implemented