function Mpop(p,M)
for i=1:M,
    v = pop(p);
    sumLen(i) = length(v);
    Pop2(i) = v(2);
    Pop3(i) = v(3);
end
MeanLength = mean(sumLen)
STDLen = std(sumLen)
MeanPop2 = mean(Pop2)
STDPop2 = std(Pop2)
MeanPop3 = mean(Pop3)
STDPop3 = std(Pop3)
