Text this: Mathematical analysis and homogenization of the torsion problem