[api] [refactor] Replaced Math.Random calls with Random.number. Random ranges are now inclusive of max instead of inclusive. #87 #48