distUnion function

Combine multiple distance specifications into a single distance specification.