horizontal layer refraction (eventually, all of these figures need to be updated)