Layered meshes with minimum thickness layers

Based on requests by Agnes and Marc I added a parameter to the layered mesh generation that allows to specify a minimum thickness for all layers (i.e. if interpolated raster data suggests that the layer is too thin at certain locations it is assumed to be non-existent).

Most of the changes in this PR are just formatting things where I changed spaces to tabs to be compliant with the overall code layout. Sorry about that.
Typo: ***to*** the layer located below?