seems like you had the same problem as me (exhaust cam sensor). Dont know why your local dealer didnt pick this up as mine came up as faulty within a few minutes of the BMW Assist technician plugging in the OBD reader.
Still, its good to hear you are good to go. Should have no problem getting that 21mpg up to 30+
enjoy ....... til next time