% César Sousa 8-10-2014


% calculates the sum line by line of all columns exect the first

function output = getSum(A)

    output = zeros(size(A,1),2);
    output(:,1) = A(:,1);
    output(:,2) = sum(A(:,2:end)')';
    
end