Fixed regulation in angles larger than PI