perform_mds function

Perform MDS on a pair of distance matrices