Computes the manhattan distance between two points, d = |x1-y1| + |x2-y2| + ... + |xn-yn|.