I car just went into Fail Safe Mode Transmission. Codes read PO720 & PO732. on 1998 BMW 740iL

When I first started car and then put into drive it moves slowly and when I reb up the Gas it jumbs into to another gear and then goes to the errors codes. I flushed my Oil recently to see if that will loosen the gear...but did not work. Code PO732 also indicated the Trani. Output Speed Gear 2 Ratio has malfunctioned. Does move in Reverse fine and when in higher speeds, is good. I am assuming the Output Speed Sensor needs replacing. Can it also be wire harness inside the Trani. Pan the needs replacement? Please help. Thanks, JR

Asked by for the 1998 BMW 740iL
sounds like its your powertrain control module or PMC