Added IDF for query TF vectors