getLimit function

Determine outlier limit