Calculation of glass properties