Added Manhattan, Euclidean and Overlap distances.