fix definition of rowvector