cleaning extract_features.m