Adjusted code to account for pi/2 pulses

This adjustment costs two of the eight possible delays. In the future, I
should make a modification to both these files so that I don't have to
modify both each time we want to change the delay structure.