Adjusted the write to file so that the topics appear adjacent to the
list of words rather than as a new row after the words matrix is output.