Scattering Theory in Fluctuational Electromagnetics at the Nanoscale: From Numerical Methods to Fundamental Limits