High performance reconfigurable computing for learning Bayesian networks with flexible parameterization