Discovering Structure in Continuous Variables Using Bayesian Networks