Stage 2 - Retained Soil Layers

Small adjustments to stage 1 including error detection/impossible
abutments and added Stage 2 to provide different layers of soil
retained. Also added passive soil as a separate stage 3, to be
implemented next