xorig=load('check/validx.dat');
yorig=load('check/validy.dat');

x=load('data/validx.dat');
y=load('data/validy.dat');

%xdiff = abs((x - xorig) ./ xorig);
%ydiff = abs((y - yorig) ./ yorig);

xdiff = abs((x - xorig));
ydiff = abs((y - yorig));

max(max(xdiff(:)), max(ydiff(:)))
max(norm(xdiff(:))/sqrt(length(xdiff(:))), norm(ydiff(:))/sqrt(length(ydiff(:))))

