Updated RNG library