Returns the value of a linear remapping function.
performs a linear interpolation between 0 and 1 in the interval min to max, but does not clamp the range