Computing Marginal Distributions over Continuous Markov Networks for Statistical Relational Learning