implemented probabilistic version of fitSphere