Surface mesh imprinting improvement

Surface mesh imprinting now ensures that thin ribs can be imprinted properly.

This improvement enhances the accuracy of Dual Domain analyses and makes 3D meshes more regular.