Wrote Plane/Sphere intersection test