Sped up parallel lda, started working on distributed version although this doesn't work yet.