Function setStiffnessMatrix was incorporated to Main