Add new functions:
m2pc --> convert a matrix to flat indexed vector
centroidPC_find --> find the centroid of a point cloud mass