added destructor in FeatureExtractor.cpp