Fixed minor problem with outlier calculation.