Hi Jay, Sounds great already! As far as I remember, distance type in DistanceMatrix depends on the way you initialize DistanceMatrix type template - you need to set proper value type of your weight map. Anton.