Implemented cleaner and functioning clump finder. Still needs optimizations