adding documentation for rng kwarg (#306)