Text this: Dynamic Stability Analysis and Optimization of Multi-Vehicle Systems in Heterogeneous Connected Traffic