Simplify dense numpy array creation in dict_vectorizer.py