bug fixes from testing lda inference on pre-inferred data