added circle processing. Only complete circles, no partial arcs yet