Topic distribution creation for new documents
Also merge fix