Texas students gain in math; reading scores flat