Adding code to calculate baseline jaccard similarity matrix