Add LdaModel.beta() and unit test.