Fix to avoid NaN in roughglass when IOR=1.000