Bayesian Model Selection And Estimation Without Mcmc