Change PageRank on old Scala API to make it match new Scala API example