caught math error in TPMmodel-tex