fixing compile errors in FeatureExtraction