Modified weighted pageranks to use the new immutable FloatPair