I've had a quick search through the forums for the last few months and this subject has come up several times. There have been no definitive suggestions as to the cause of the problem.
It does not appear to be due to compass miscalibration or loss of GPS signal, nor to the effect of magnetic or...