altered way in which jaccard distance is calculated, allowing for multiple distances and bumped version