fixed bug in jaccard matrix function