Determination of trace elements in CuInS2