added detuning to pulse program library