Calculate bounding sphere for meshes.