calculating the similarity of distilleries