#1772: Minor refactoring in the TraceCalculator (use Tuple.Create factory method to make the code more readable).