Faster tanimoto calculation 

Fast tanimoto similarity calculation