added isPointInEllipse