Mathematical Analysis of Deterministic and Stochastic Problems in Complex Media Electromagnetics