Updated all code to transition from the old coordinate system to the PxSystem