13.1.24 'poly_weight_to_omatrix'
--------------------------------

poly_weight_to_omatrix(W,V)
     : It translates the weight vector W into a matrix, which is used to
     set the order in asir Grobner basis functions.  V is the list of
     variables.
   Example:
      M=poly_weight_to_omatrix([2,1,0],[x,y,z]);
               nd_gr([x^3+z^3-1,x*y*z-1,y^2+z^2-1,[x,y,z],0,M);

