# Apply damping new_ranks = damping_factor * new_ranks + (1 - damping_factor) / n