Modifies a matrix so that it is positive definite
makepd(mat, eig.tol = 1e-06)
mat
eig.tol
A positive-definite matrix