Added a weight-based centering function for outliers in pointcloud, made sure vertices were floats not strings