rmZeroThicknessLayers function

Remove layers with a thickness of 'zero cm'