Added refraction matrix