added a ellipse plotting functionality