Working on CC analysis

Basic algorithm is finished. Now, calculate bbox, volume, and centroid.