function [] = simplescript(pointsFilename)
rawPoint = supercond_orig ('a',10,.001,.01,1)
avgTemp = sum(rawPoint(:,1))/10
sigmaTemp=std(rawPoint(:,1))
avgRes = sum(rawPoint(:,end))/10
sigmaRes=std(rawPoint(:,end))
point = [avgTemp,sigmaTemp,avgRes,sigmaRes]
cd 'C:\Documents and Settings\Student\My Documents\MATLAB\supercond\data';
fname = [pointsFilename '.txt'];
dlmwrite(fname,point,'-append','delimiter','\t','precision',10,'newline','pc');

end