sqrt_XtX function

Compute matrix square root of X'X