Combine two sparse distances, allowing only pairings allowed by both
meldMask(mask1, mask2)
mask1
matrix of the first mask
mask2
matrix of the second mask
combined mask structure