IDENTIFYING TREND MODES and CYCLE MODES