consistency matrix