Fixed uniform generation to return an actual probability

uniform: 1 / k, where k = (UB - LB + 1)