Ellipse symmetry

Fixed the #1153 and added several tests for ellipse.
For better speed you could rewrite this expression without creating new arrays, only with in-place operations, e.g. -=, *= etc.

But this is certainly not a blocker.