Update igraph.functions.R

added addNodeCentralities function