This is a generalization of SaturatingLinear, steps must be arranged with increasing time (u64).
Any point before first step gets the first value, after last step the last value.
Otherwise, it is a linear interpolation between the two closest points.
Vec of length 1 -> Constant
Vec of length 2 -> SaturatingLinear