tested and fixed remove. TODO: check math for detecting motion out of circle