list2dist function

Convert pairwise list to distance matrix