Added the bag to word to bag matching method. Not used yet.