Refractive Index and Concentration Calculation