function y = squash(x)
% SQUASH(X) = X(:) saves needing an intermediate variable when you want 
% to squash an array subset, say X(I,J,K), into a vector to do something 
% else to it (like make it the argument of MIN, MAX, ALL etc).
% 
% John Wilkin 
y = x(:);
