Well im having a few problems with my e39 530i its running very rough when idle and there is a noticeable loss of power and its also drinking the petrol more than usual!

I was getting these fault codes so i changed the disa valve which was knackered and air intake hose which had a tear in it...

P0313: Misfire Detected with Low Fuel
P0300: Random/Multiple Cylinder Misfire Detected
P1353: [BMW] Misfire Cylinder 6 With Fuel Cut-off
[Chrysler] IC Output High/Pulse Detected when GND_Cyl. 3
[Ford] Ignition Coil B - Primary circuit fault
[Mazda] Ignition Coil 'B' Primary Circuit
[Dodge] IC Output High/Pulse Detected when GND_Cyl. 3
[Jeep] IC Output High/Pulse Detected when GND_Cyl. 3
[Volvo] Ignition coil cylinder 2. Signal too high.

P1351: [BMW] Misfire Cylinder 5 With Fuel Cut-off
[Chrysler] Ignition Coil Control Circuit High Voltage
[Ford] Ignition Diagnostic Monitor circuit Input fault
[Lexus] VVT Sensor Range/Performance Problem (Bank 2)
[Mazda] Ignition Diagnostic Monitor Signal Lost to PCM or Out Of Range
[Dodge] Ignition Coil Control Circuit High Voltage
[Jeep] Ignition Coil Control Circuit High Voltage
[Volvo] Ignition coil cylinder 1. Signal too high.

P1083: [BMW] Fuel Control Mixture Lean (Bank 1 Sensor 1)

P1085: [BMW] Fuel Control Mixture Lean (Bank 2 Sensor 1)

P0171: System too Lean (Bank 1)
P0174: System too Lean (Bank 2)

Pending Fault Log
------------------
P1348: [BMW] Misfire During Start Cylinder 4
[Seat/Audi/Volkswagen] Ignition Coil Power Output Stage 1 Open Circuit

P1344: [BMW] Misfire During Start Cylinder 2
[Seat/Audi/Volkswagen] Ignition Coil Power Output Stage 2 Short to B+
Now after changing those 2 parts im getting these fault codes.

P0313: Misfire Detected with Low Fuel
P1085: [BMW] Fuel Control Mixture Lean (Bank 2 Sensor 1)

P0171: System too Lean (Bank 1)
P0174: System too Lean (Bank 2)

Pending Fault Log
------------------
P1083: [BMW] Fuel Control Mixture Lean (Bank 1 Sensor 1)
To be honest i dont have a clue where to start looking so just wondering has anybody here see anything like this before and can point me in the right direction?

Cheers