Asymptotic analysis of the two matrix model with a quartic potential