Fixed typos in pulses.py