Principles of Electromagnetic Waves and Materials