Fixed edge case:
- Updated XMLDocs and function argument types to prevent modification to collections
- Added a filter on the layerdata --> the layer data sometimes generates a surface consisting of two curves (which simply cannot represent a surface, because at least 3 curves are necessary). This behavior becomes relevant when running TestRunMacroStabilityWithErrorUpliftVan
Related to Issue [
MWDAM-1683]