Added modules for computing weighted inverted files