Added anisotropic to cython functions