Revert CosineDistanceMeasure and Tanimoto Distance

Because both classes can not be apply Weight trait to.
Format code