Algorithm for Triangular Mesh Reconstruction by Deformation in Medical Applications --