rankvariations = rank_arrays./(rank_arrays(1:2819,100)*ones(1,100));
rankvariations = sum(rankvariations,1)/2819;
plot(rankvariations(1:100),'r*');
