Continued work on BayesQ implementation.