added paperrank and pairwise transform