Computing Spearman rank-order correlation