resolve trigPoly failing unit tests do to 2pi wrapping.