Changed computation of average word gap. Averages unique values only.