Stiffness Matrix in Local Coordinates