increased the maximum value for sigma to 100