Added a linear interpolator