function e2 = sumsqr(e)
%sumsqr returns sum of squared matrix
%	e2 = sumsqr(e)
%	e  - matrix
%	e2 = sum(sum(e*e'));
%
e2 = sum(sum(e*e'));
return