function x = vec(X)

% vec - put array into column form
% --------------------------------
%
% x = vec(X)
% 
% Input:
% ------
%  X - input array
% 
% Output:
% -------
%  x - column vector
%

x = X(:);


