Allow range map to accept different types
Currently the range map will only operate on doubles. Update the library so that it can work on ints or doubles.
Currently the range map will only operate on doubles. Update the library so that it can work on ints or doubles.