Modular Analysis of Arbitrary Dipolar Scatterers