The speed of light in a material is a function of BOTH its permittivity AND its permeability, c=\frac{1}{\sqrt{\epsilon \mu}}. You will need to study , as tk421 mentioned. Start with the wiki...