'Generate the random number generator on host.
Arguments:
seed (int): random number generator seed
Returns:
seeded numpy RNG'

def gen_rng(self, seed=None):

    self.rng = np.random.RandomState(seed)
    self.init_rng_state = self.rng_get_state()
    return self.rng
