semilogy(d4,'rs-');
title('PageRank Similarity vs. Iterations (Stanford-Berkeley Web, tolerance = 10^-4)');
xlabel('Number of iterations');
ylabel('Ranking Distance');
