3D code for MAgneto-Thermal evolution in Isolated Neutron Stars, MATINS: The Magnetic Field Formalism | Publicación