Update RandomGenerator.scala