Add optical medium

**To Do**:
- [x] Initialize medium with refractive index(Better API?)
- [x] Add tests for medium

`Symbol` is an interesting choice, why'd you go with that?