added a sequential linear interpolator