Updates to function (renamed make_histogram to generate_topic_dist_matrix)