Fix test for cosineDistance
Merge pull request #308 from yu-iskw/fix-test

Fix test for cosineDistance