function A = formAmn(m,n,ts)

% forms complex matrix flows for 2 <= m,n <= 8

 Ats = [(0.3*ts-6)*sin(0.3*ts)+2i,  exp(sin(0.3*ts)),     1.2+0.3*ts,       -exp(sin(0.3*ts)),    1i/2,             1i+cos(0.3*ts),               ts,                 -exp(sin(0.3*ts));
           exp(sin(2*0.3*ts)),       cos(0.3*ts)-2i,        2i,                   1i,          cos(2*0.3*ts),            1,                       0                       (1-6i)*ts;
            1i*0.3*ts^2,          2/(0.3*ts^2+1), -0.12*0.3*ts^2+2.4*0.3*ts-7,     0,         abs(0.3*ts)^.5,            0,                6i-5*sin(0.3*ts),           1i*sin(0.3*ts);
        -1i*exp(sin(0.3*ts)),      -2i+0.3*ts,         0.3*ts^2+.5,         1/(0.3*ts+1i),    atan(11*0.3*ts),    sin(2*0.3*ts)*2i+6i,            0,                        1i/2;
               1/2,               cos(2*0.3*ts),      1i*sin(0.3*ts),       atan(0.3*ts),          1,               exp(cos(0.3*ts)),      0.3*ts/(1+0.3*ts^2),        exp(cos(0.4*ts));
          1+2i*cos(0.3*ts),            1,                   0,             sin(2*0.3*ts),    exp(cos(0.3*ts)),       1i/(0.3*ts+2),        -1i*exp(sin(0.3*ts)),       1i*exp(sin(0.3*ts));
                0,                 0.3*ts-3i,           2i*0.3*ts,              0,        cos(0.3*ts)*sin(0.3*ts),         0,         -0.15*0.3*ts^2*1i+3*0.3*ts-6,       -2i+0.3*ts;
          exp(sin(0.3*ts)),      cos(0.2*ts)+2i,           0.2i,              ts*1i,          cos(0.1*ts),           1.357*ts^0.5,                8i,                  (1-6i)*cos(ts)];
          
 A = Ats(1:m,1:n); % + ones(n,n) + 2*eye(n);
        
          
         