added NaN test for log1m
added NaN test for log1m
added doc for log1m