TOWARD MORE REALISTIC ANALYTIC MODELS OF THE HELIOTAIL: INCORPORATING MAGNETIC FLATTENING VIA DISTORTION FLOWS