added NaN test for gamma_q
added NaN test for gamma_q
added NaN and derivative doc for gamma_q to manual