AvgAcc=zeros(1,20);
AvgTime=zeros(1,20);
Testing_Points=zeros(180,2);
Testing_Labels=zeros(160,2);
for i=1:20
   [Accuracy,Time,Points,Labels]= pointmatchingA
    AvgAcc(1,i)=Accuracy
    AvgTime(1,i)=Time
    
    for j=1:9
        for k= 1:2
    Testing_Points((i-1)*9+j,k)=Points(j,k);
        end
    end
    
    
    for j=1:8
        for k= 1:2
    Testing_Labels((i-1)*8+j,k)=Labels(j,k);
        end
    end
    
end
Average_Accuracy=mean(AvgAcc)
Average_Time=mean(AvgTime)