Update randin in base.py

Omit the third argument in np.random.random_integers, so the random number is returned directly instead of in an array. In the latter form, numpy throws an error when the length of ind is smaller than 32.