Updated RNG

Updated RNG, removed some unnecessary code