function output = readInCSV(fileName)




inputData = textscan(fopen(fileName),'%s');

output = [];
row = 1;
temprow = [];
for i = 1:length(inputData{1})    
    if(~strcmp(inputData{1}(i),','))
        if(str2num(inputData{1}(i)) == row)
            output = cat(1,output,temprow);
            temprow = [];
            row = row + 1;
        else
            temprow = cat(2,temprow, inputData{1}(i))
        end
    end
end


end