Need to finish moveCentroids. Debugged almost everything else.