Magnetic Properties through CASTEP

Does anyone know how to go about using CASTEP to determine different magnetic properties? One I am looking at specifically is the magnetocrystalline anisotropy.