added NaN test for lbeta
added NaN test for lbeta
added NaN doc for lbeta