Added linear interpolation