Template:4-ary faction matrices and their Zhegalkin twins