Clean tf_idf code and improve documentation/tests