function fitv = compfit(x1,x2)

x1 = x1(:);
x2 = x2(:);

N = length(x1);
x2 = x2(1:N);

fitv = 100*(1-norm(x1-x2)/norm(x1-mean(x1)));
