improved QXAFS calc for sinusoidal angle trajectory