changed emd_trend