Lots on cams and timing in the knowledgebase have a read through, 9r in further pages but near as the same for 8fiddly...
Ps If you wanted to check the cam sensor for sure, i took out the crank sensor from behind the sprocket cover as a swap to test the cam sensor ( i believe it's actually a "get you home swap") bike ran rough as a pigs ear but proved a buggered cam sensor, perhaps worth checking, i did have help and your more clued up than i am, but perhaps it may help !!!
Many suggest that the cam sensor and the speedo sensor are the same but they do have a different profile although the same electrical characteristics. I did try using speedo senso as a try out but to no avail.
Have you done a compression check ?
I was going to then realised that the thread on my compression tester was too big. Doh