Modifying to test 8x8 matrix