phase2 function

Function to simulate shock effects.