Update ellipse.class.js

Mirrored from circle the way it updates width and height following rx and ry of ellipse.
Merge pull request #1699 from asturur/Ellips-rx-ry

Update ellipse.class.js