Added KCore decomposition functions.