Replace sphere intersection to the ray class.