Refraction and Total Internal Reflection