integrating changes contributed to Meshes-Module
fixing newly introduced bug in interpolateZ
work-around for friction-value-handling in 2dm-file