Write field calculation for a narrow-track, single-pole head with a thin underlayer of perpendicular medium