Returns the value of a smooth step function.
Returns 0 if x < min, 1 if x > max, and performs a smooth Hermite interpolation between 0 and 1 in the interval min to max.