function result = vec( x );
result = x(:);