STATISTICAL THRESHOLD METHOD FOR SEMICONDUCTOR INSPECTION