python and go implementations of mcmc hmm methods