Theorizing and Measuring Affect in Mathematics Teaching and Learning