added function displacementMeasuredByResistance_piecewiseLinear (frost heave sensors)