Dense version of composite stiffness matrix