Added mapRange() math function.