Add middle point elipse algorithm