Extremes function

Sum of spell lengths exceeding daily threshold for n-dimensional arrays