added NaN test for log_diff_exp
added NaN test for log_diff_exp
added doc for log_diff_exp