Fixed tests.
Added type annotations to allow forward references.
Sort only once in Empirical.{ rightTail, quantile }.
Refactored statistics related methods out of Empirical.