Interleave distance matrix