Create BayesianNetworkFunctionality