Returns n mapped from one range [inMin, inMax] to another [outMin, outMax].
n
[inMin, inMax]
[outMin, outMax]
Returns
nmapped from one range[inMin, inMax]to another[outMin, outMax].