Here's the link to the discussion Jeron mentioned.
98 M3 shifting problems
Funny thing, mine has somehow magically gotten better.  I didn't change the transmission fluid, so I can't explain it.  It does stick occasionally now, but much better than before.