Create calculateKGlobalStiffnessandMass.m