I realize this was already in place, but I think a better name for this function would be something like ``compute_distance_matrix_from_metadata`` - ``distance_matrix`` sounds more like a class name (although the naming convention would of course be different for that). If you could fix this now that'd be great, but if it'd be annoying could you create an issue for it?