Fix the issues:

1. For function miniBatch. Replace m_batchsize with n_docs.
2. In function miniBatch. change total_Cj in clumping setting.