added refractive index to sphere