Non-negative definiteness check in CovPCA