commutation of a matrix
[K]=commutation(m[,n])
m = # of rows of matrix A.
n = # of columns of matrix A (optional, set to m if not given.
K = commutation matrix
com=commutation(3)