Magnetic anisotropy of RE-magnets