Approximating Optical Refraction using Taylor Polynomials