Conjugate Gradient Methods Applied to Transonic Finite Difference and Finite Element Calculations