Magnetism of Gadolinium: A First-Principles Perspective