fix conciliation matrix for unbalanced mask and conciliation function