Lagrange Interpolation In MATLAB - Code With C