Spin precession in anisotropic media