You may have disturbed the left front knock sensor. They are kind of touchy, esp if you unbolted them and placed them back in the wrong position.
You DID replace the intake manifold gaskets, right?
Ed in San Jose '97 540i 6 speed aspensilber over aubergine leather. Build date 3/97. Golden Gate Chapter BMW CCA Nr 62319.