Added sphere intersection.