Linear Interpolation Code For Matlab