function A = vanA(x,n)
%Least Squares Matrix for x and n poly
A = [ones(length(x),1)];
for i = 1:n
    A = [A,x.^i];
end
end

