function ou=mgrp(m,v)
% mgrp		- Adds a vector to the bottom of a matrix
% mgrp(m,v)
% this function adds v on to the bottom
% of matrix m   if v is smaller, it 
% extends v .. if m is smaller ..it extends m
% OKB
lv=length(v);
sm=size(m);
lm=sm(2);
if lv<lm
   v=cext(v,lm);
end
if lv>lm
   nm=[];
   for i=1:sm(1)
       nm=[nm;cext(m(i,:),lv)];
   end
   m=nm;
end
ou=[m;v];
