function A = generateData(m)
    A = rand(m,250);
    T = zeros(m);
    T(1,1) = 1.001;
    T(2,1) = -1.001;
    T(3,1) = .01;
    T(3,3) = 1.01;
    rng(10);
    
    F = .1*ones(m,1);
    F(1) = 1/2;
    F(2) = 1/2;
    F(3) = 0;
    
    A(:,1) = randn(m,1);
    A(1,1) = .1;
    A(2,1) = 1;
    A(3) = .01;
    
    for i = 2:250
       A(:,i) = T*A(:,i-1) + F.*randn(m,1); 
    end
    A = A';
end