function n = inner_product(x,y)
% turn x and y into columns by transposing each row
% into a column and concatenating together.
% then find regular inner product
% (x and y are sz x ?? matrices)

sz = size(x,1);

n = 0;
for i = 1:sz
   n = n + x(i,:) * y(i,:)' ;
end;

