function I = molterInputCalculator
% molterInputCalculator creates the input matrix for the program
% MolterNetwork.m.

global n dimensions time

I = zeros(n,time);

if dimensions == 1
    % 1D is simple, just go in order, with 3 overlaps
    aCounter = 10;
    for ii = 1:n
        I(ii, (aCounter:aCounter+10)) = 1;
        aCounter = aCounter + 7;
    end
    
elseif dimensions ==2
    % 2D is more complex, I will not deal with it now, it will be done
    % though.
end

end
