use only cosine distance for mearsuring distance of cluster point