function L2=L2norm(A)
% Moo K. Chung  mkchung@wisc.edu
%
% It computes the L2 norm (Euclidean distance)
% vector of array n by 3 matrix

L2=sqrt(sum(A.^2,2));


