Centroid class skeleton
Centroid stores doubles instead of floats