Linearly interpolates a Double in [fromMin, fromMax] to [toMin, toMax]. Example: 50.0.mapRange(0.0, 100.0, 0.0, 1.0) → 0.5
50.0.mapRange(0.0, 100.0, 0.0, 1.0)
0.5