dist.cosine function

Cosine Distance