Rewrote the TensorBase::random method to support the generation of random number on gpu.
Rewrote the TensorBase::random method to support the generation of random number on gpu.

madlib/eigen,madlib/eigen,madlib/eigen,madlib/eigen