Add feature to initialize medium with refractive index. [skip ci]
Import constants like permittivity of free space, speed of light in vacuum and magnetic permeability from sympy.physics.units rather than using Symbols for them.