Text this: Defining, Measuring, and Teaching Mathematical Flexibility