dataset centroid calculator was wrong! it was multiply sum x by n, not dividing. i fixed it