alpha\_m0 is associated to the transitions m -> 0 for each day and each m # alpha\_m1 is associated to the transitions m -> 1 for each day and each m

if((n\_m0[i,m] == min(n\_m0[i,m], n\_m1[i,m])) & (alpha\_m0[i,m] == 0)){

if((n\_m0[i,m] == min(n\_m0[i,m], n\_m1[i,m])) & (alpha\_m0[i,m] != 0)){

if((n\_m0[i,m] == max(n\_m0[i,m], n\_m1[i,m])) & (alpha\_m0[i,m] == 0))

if((abs(n\_m0[i,m] - n\_m1[i,m]) >= 5) & (alpha\_m1[i,m] == 0)){alpha\_m1[i,m] = 7} if((abs(n\_m0[i,m] - n\_m1[i,m]) < 5) & (alpha\_m1[i,m] == 0)){alpha\_m1[i,m] = 5}}

if((abs(n\_m0[i,m] - n\_m1[i,m]) >= 5) & (alpha\_m1[i,m] == 0)){alpha\_m1[i,m] = 7} if((abs(n\_m0[i,m] - n\_m1[i,m]) < 5) & (alpha\_m1[i,m] == 0)){alpha\_m1[i,m] = 5} }
