Three-dimensional anisotropic and inhomogeneous elastic media matrix analysis for small and large displacements