Jaccard distances calculation

reuse method above Luke