MHD mode activity and the velocity shear layer at TJ-II