Generalized Multipole Techniques for Electromagnetic and Light Scattering