computes distance between two cylinders, if they do not overlap. In case they overlap, the overlap distance is returned.