Update library files
Minor changes
Updated centroid file