% This function shows the Gram matrix for the step w
% Please have a look that the variable H1 is global and "refilled" :)

function y=G(w)
global H1;
for k1=1:w+1
for k2=1:w+1
H(k1,k2)=H1(k1,k2);
end;
end;
y=H;
