mod by 2pi in certain joints only