Surface fitting and registration of point clouds using approximations of the unsigned distance function