Functional diversity through the mean trait dissimilarity: resolving shortcomings with existing paradigms and algorithms