Fix problem where we were operating on a (-0)-(-2pi) scale rather than (-pi)-(pi) scale.