Slight changes to sphere intersection test.

Now properly handles insides of spheres.