Refactored and extended `topics` and `doc_topics` methods. Rewrote `topic_entropies`. Added `doc_entropies`, `phi`, `theta`, `H_phi`, `H_theta`, and `aggregate_doc_topics`.