R code for fitting the material parameters of the Crushed-Salt constitutive model.