Update CoherenceTriggeredAverage.m