Checks if a squared matrix is positive definite and turn it to positive definied if necessary
positive_definite(m, c = NULL)
Is a 2x2 matrix.
Is a small nonegative number.
The same matrix (if positive definite) or its modification that is positive definite.