refractoring complete, now using meanshift, and conglamerating circles
pre meanshifting