added code for anisotropic basis functions