adding sphere's getIntersection function

this function is fine, mannnnnnnn