Increment I Increment J Increment K Increment L
Increment I  1 aij aik ail
Increment J  1 ajk ajl
Increment K  1 akl
Increment L  1

Table 5 represents the matrix
Table 5: Fully filled matrix where the two conditions have been applied.