Add intersection for BoundingSphere

Added support for detecting intersection between the ray and the
bounding sphere. It is determined automatically by whether the
BaseObject3D object has a bounding sphere. If it does not, it reverts to
detecting intersection with the bounding box.