ensure that rand-range yields values inclusive of both lower & upper bounds, fixes gh-54

Big /ht to @hyPiRion here, this is his fix fundamentally.