Fix PUB-196: bad confusion matrix for vectors with different domains.

CM fixes
 - now if domains differs, then resulting CM is composed of unions of
   domains
 - different length vectors are rejected in the same way as R-reject
   them
PUB-196 - test for the CM