improved rabi flop fitting