stacks a symmetric matrix
[v]=vech(x)
* x = an input matrix
* v = output vector containing stacked columns of x
vech([1 0.5; 0.5 2]') //returns: //! 1. ! //! .5 ! //! 2. !