Magnetic attitude control systems for small satellites