If you were designing a security system that uses light to detect an intruder, why would it be important to know about the different media and materials that would be parts of the system?