UniformHypersphere uses is_integer

This bug occurred when using a `long` element from a numpy array as the dimension.