Update Bag-of-features.cpp