Add LinearInterpolator class.