A Gradient-Descent Optimization Assisted Gray-Box Impedance Modeling of EV chargers