Reconstruction of Soil Stress-Strain Response Using Optimisation