adding nonNegativeInt, double, intDouble, doubleInt, double3 and ints to RNG
tail-recursive version of ints