added tanimoto score function