Boom! Major changes to the rotation algoritm also fixed paths

Should be more stable, however I'm not extending this to flawless or
perfect. Most likely there will still be some funny quirks.