Fixed the calculating ellipse points bug. But there's still bugs in drawing it