Fixed some bugs in RayCloudTriangulatorBPA and improved Sphere::hasTouchingSphere