ActivityFeatureExtractor.m extractFeatures() code clean up