add UniformSample in random.h