Dynamics of the Gender Gap in High Math Achievement