Update and rename setProb.R to setNodeProbs.R