function [ret]=sq(matr)

% This file takes a matrix and builds the square 
% of it (cause ^2 doesnt work...)
% written by M. Hess 24.11.2000

ret= matr .* matr;