I had this problem before, (admit it, its prety generic though) but mine was electrical. When the car went in for a service, my guy put come non-conductive gel stuff on the plug ends and leads as they come up from the head. Fixed the problem, seemed to be because the spark was jumping out of one of the tubes into the head. Pretty random.