on.torus function

Transform the angular data to be on principal interval