Density-functional theory modeling of bulk magnetism with spin-dependent pseudopotentials