remade circlesToCords: it actually works now