cleaned up using pep8 and added sort_features to TfidfVectorizer