Move documents and assignments to be arrays of TopicIndexes instead of sparse matrices