Gender and Psychological Variables as Key Factors in Mathematics Learning : A Study of Seventh Graders in Chile