Bayes Blocks: An Implementation of the Variational Bayesian Building Blocks Framework