Electromagnetic Waves, Materials, and Computation with MATLAB