Statistical Depths for Multivariate and Functional Data with Applications