polysign_cdd: switch to use of Matrix representation internally