Add Base::randomNumbers to get array of random numbers

Add Base::randomNumbers to get array of random numbers