Move dm-matching code into mantel

Previously was in pwmantel, but it makes sense to support matching of distance matrices in both functions. Minimal updates to tests and docs to get things passing again. Still need additional changes to unit tests, doctests, and documentation.