I want to compute the score model for the internal validation set. For that, I am going to need some information about the algorithm or pseudocode for TIR and TLA. Most things are understandable, but I need guidance about the tooth size calculation.