Finished LDA data generator (first version).