Automatic Finite Element Modelling and Parameter Determination for Geotechnical Design