Working on lda fitting library from David Blei's site.