A MultiMaterial Tetrahedral Meshing Library and Application