Quantitative matrix comparisons in ecological and evolutionary investigations