Fixed bug in FeatureExtractor.