SMS: Fundamentals of magnetism