Symbolic differentiation
With respect to z
For Phi(z,s,a)
For Phi^(z,s,a)
With respect to s
With respect to a