Added RandVar.scala