`range` and `midrange` were throwing undefined errors because of an argument/variable mismatch.
Merge pull request #20 from karbarcca/patch-1

`range` and `midrange` were throwing undefined errors because of an argu...