Calculate Critical Angle With Refractive Index