Measuring Refractive Index of Solid Materials