Added settlement calculation

Added a first way to calculate the settlement in a 1d geometry