xstream to read xml for bayesian network