Shielding Electronic Devices from Magnetostatic Fields