Algorithm for computing the smallest enclosing sphere of points in arbitrary dimension