Statistics for Multifunctional glasses and their application to photovoltaic technology