vecr — stacks rowwise
[v]=vecr(x)
x = an input matrix x
v = output vector containing stacked rows of x