Fix memmory leak in AnisotropicMatrix3DAnalytical
Fix test for anisotropic matrixes