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