Rewrote circumcenter code.