Revert "added NaN test and doc for tgamma"

This reverts commit 8cf33d4076efa388e00a7a65a2b63f2f12f944a3.
Revert "added NaN test and doc for tan"

This reverts commit 451248fe2903a8621c6b729f5755c085f054a9f0.