pi code for smooth turns