Full code review

What is the format of the output? The output should contain 2 files:
- one with distribution of words per each topic : the beta k * V matrix from the LDA paper
- one with distribution of topics per docs: the theta_{i, d} matrix obtained from equation (8) from the LDA paper (they compute there an expectation of log(theta_i)) .