Fixed CdS_CdSe material in further fcns