Added two methods that help compute optimal bounding sphere