AverageDrawdown function

Calculates the average depth of the observed drawdowns.