Magnetocrystalline anisotropy in Nd‐Fe‐B magnet