Can now rotate beyond [-pi,pi]
The solution is to consistently keep all angles within [-pi,pi].