Change parameters to const references

This provides marginal performance improvements.
Add refractive index to Material

Still need to actually use it, though.