sphere and triangle intersection working