Project to SPD by eigenvalue flooring (used after Euler covariance updates)
Source:R/aci-utils.R
spd_floor.RdReturns the matrix unchanged when it already admits a Cholesky factor, and otherwise floors its eigenvalues at a small positive multiple of the largest absolute eigenvalue before reassembling it.