Clean-up of MatrixSquareRoot.