Slightly more robust APS1 marker merging.
Slightly more robust APS1 marker merging.

Removes a bounds error problem when passed an empty IQ sequence and more than
two marker switch points.

Plourde-Research-Lab/PyQLab,rmcgurrin/PyQLab,BBN-Q/PyQLab,calebjordan/PyQLab