Yahoo earnings come in above estimates and shares rise in after market