Impedance-Based Stability Analysis for a Dead - Beat-Controlled Grid-Forming Inverter Using Cross-Correlation Methods