Gravar-mail: A Gaussian Mixed Model for Learning Discrete Bayesian Networks