implemented cuRand to generate large number of random doubles in parallel