Micromagnetic study of the correlation between head field gradient and jitter in perpendicular recording