function [ y ] = evalLagrangeInterpolationPolynomial( X, B, x )
%evalLagrangeInterpolationPolynomial Evaluates a Lagrange interpolation polynomial
%   Detailed explanation goes here

y = 0;
n = size(X, 2);

for k=1:n
    y = y + B(k) * evalLagrangePolynomial(X, x, k);
end

end
