New method of computing extinction, also flags ivar=0