Updated .gitignore
Fixed CosineDistanceMeasure to return 0 when both vectors are 0.