History of the mathematics of double refraction