makes pulse width thinner and updates the pi/2 simulation