added NaN test for LDLT_factor
added NaN test for log_determinant_spd
added NaN test for log_determinant_ldlt