Similarity between Euclidean and cosine angle distance for nearest neighbor queries | Synapse