Heuristic function to penalize nodes with low degree
hubHeuristic(x)
x
single value of vector
transformed
hubHeuristic(rnorm(1:10))