Computes the rank of the i-th module in the relative canonical resolution
i1 : k = 5;
i2 : rks = apply(k-1, i -> rkSyzModules(i,k)) o2 = {1, 5, 5, 1} o2 : List