improve ellipse angle normalization
improve ellipse angle normalization

Now using the more elaborate method I identified after longer study of the problem.
Also added a doctext.
michaelaye/planet4,michaelaye/planet4,michaelaye/planet4,michaelaye/planet4