


SPHFIT fits a sphere to a set of surface points
input:
vc nx3 matrix, where each row represents the location
of one surface point. vc can have more than 3 columns
(e.g. orientations) - then only the first 3 columns are used
center 1x3 vector denoting the center
radius scalar denoting the radius