Update ising.py

added rng_uniform