Created pure functionality for DecisionNode.perturbCPT()