powered by
scale a square matrix to have unit diagonal elements.
scaledMat(x)
a square matrix with positive diagonal elements
scaled matrix of x