PR: redesigned pagerank C API.