included sphere intersection and ray generation from sphere