Modeling Light-Matter Interactions for Photonics Applications