% Takes nSteps with ts and evaluates the provided function handles
% for each step and collects the output
function varargout = blargh(ts, nSteps, varargin)
    N = length(varargin);

    for j = 1:N
        Fj = varargin{j}(ts);
        varargout{j} = zeros(length(Fj),nSteps+1);
        varargout{j}(:,1) = Fj;
    end

    for i = 2:nSteps+1
        ts.step();

        for j = 1:N
            varargout{j}(:, i) = varargin{j}(ts);
        end
    end
end
% TODO: Name and discuss this funcition
