Method to calculate fast tanimoto similarity

Taking inner products of the binary matrix we can make the calculation
of tanimoto much faster