function gam = fullg(gam) m = size(gam,2); g = gam(2,:); gg = repmat(g,[m-2,1]); gam = [gam; gg]; return