Scales a matrix
Scales the columns of a matrix so that the squared elements sum to unity
sumsqscale(mat)
mat
The scaled matrix.
Useful links