Added in functions to obtain the gradient and divergence of the incident...
Added in functions to obtain the gradient and divergence of the incident scalar and vector fields (so grad(phi) and div(A)), after some derivations, in a way that should be useful for the DPIE.