Changed ellipse intersection to use sympy