Implemented a wrong gravity center finding algorithm (didn't know it was wrong when started)