added NaN test for Phi_approx
updated NaN test for agrad/rev/Phi_approx
added doc for derivative of Phi_approx