Fix CVB0 inference for lda, add sanity checking to output of the model.
Merge branch 'develop' of github.com:meta-toolkit/meta into develop