An Introduction to Applied Electromagnetics and Optics