% flatten - convert array into column vector
%
% flatten :: [[size]]->[[prod(size)]]
function X=flatten(X), X=X(:); end
