Implemented reliable turning and angle calculation in one direction.