Chamfer distance for non-linear registration of Triply Periodic Minimal Surface lattices | Synapse