The iPhone's internal GPS just isn't good enough for track driving. To get good results you will need to upgrade to an external GPS like the iPhone TomTom kit. The best app I've used is the Harry's Lap Timer, which now includes video.
Welcome to Harry?s GPS LapTimer