Calculation of Transonic Inlet Flowfields Using Generalized Coordinates