About half the time P0011/P0021's turn out to be an oil problem, and they're almost never from a bad sensor. The sensors are on the backs of the cylinder heads (driver's side), the IVT Solenoids are on the front (passenger side). Both are fairly easy to get at for Bank2 (the front bank, where your problem is) and PITA's to get at on the back bank. Since it's running badly, before throwing parts at it, you should scan the cam angles at idle. They should both read around zero. If bank2 is running 3 degrees or more plus or minus then you probably have a jumped cam chain and not an IVT issue.