Correct gap sign + add methods for average gap and standard deviation