switched to no namespace version of sqrt and exp
added NaN test for agrad/fwd/erf
updated NaN test for erf
added NaN and derivative doc for erf to manual