calculateAllT function

Calculate Stochastic Thresholds