Take a matrix of two numbers given in their binary expansion one in each of the two rows and return the interleaving of the two numbers
weave(rmat, sgn)
a matrix with two times m rows corresponding to the the expansions of the m numbers to be interleaved.
is the sign vector associated to the numbers to be weaved