It can return a distance matrix too (any subclass of dissimilarity matrices), right? Most of the docstring talks about dissimilarities though. I think this could be stated more prominently, including a test that checks that it's building the right type of matrix. Can clarify later (on my phone).