Compare phases modulo 2pi
Compare phases modulo 2pi

Include rounding errors.
Message better reflects the error. It is ok to have branches of
different lengths if their cumulative phases are the same (for example
if all pulses are an integer number of the SSB period).
--DR

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