Analytical stiffness matrices for tetrahedral elements