Improved number mapping function
Improved number mapping function

changed the number mapping function to be more general and better
documented.  The original function is still in the .cpp file as well as
the commented out test code.

hsean/ECE-411-Practicum,hsean/ECE-411-Practicum,hsean/ECE-411-Practicum,hsean/ECE-411-Practicum