fixed comparing cosine distance
fixed kendal's distance
fixed covariance distance