Fixed RNG

Fixed typos in RNG