Add Base::randomNumbers to generate array of random numbers