added NaN test for log_sum_exp
added NaN test for log_sum_exp
added doc for log_sum_exp