- Made check for confusion mask integrity robust to rounding errors