detection matrix and check block\CheckBlock.m ................................\DetectionMatrix.m detection matrix and check block