Applying the integrated trans-contextual model to mathematics activities in the classroom and homework behavior and attainment