Make AnisotropicMatrix impl configurable in task