New rotation formula that is both smooth and has no tendency to overshoot the destination