fixed 2pi bug, dunno what else...