function T=mrotz(a)


for n=1:length(a)
    T(:,:,n)=rotz(a(n));
end