Determination of Special Functions for Electromagnetic Scattering Applications