Implemented Linear Interpolation