Added Steve's anisotropy code