fixed pretty large logic bug in getUniform range handling
Merge pull request #15 from akalicki/uniform_range_fix

fixed pretty large logic bug in getUniform range handling