vechMat function

Vectorization and Expansion of Symmetric Matrices