Improved REPL; Reduced cost of RNG.NextDouble from 2g to 1g