Bug testing, restricting angles between -pi,pi