Axial Evolution of a Sheared-Flow-Stabilized Z Pinch