Redone turn function, works for angles aproaching 180 degrees.