Code for 1_4 test matrices