Foci of an ellipse from equation