Sign Function and Gluing of Space-Time Manifolds within the Distributional Method