added command to ouptut tf-idf to csv & cleaned up debug code