finished calc and point-in-circle